projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
748b5d1
)
(midnight-timer-function): No need to test midnight-mode.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 7 Aug 1998 08:53:47 +0000
(08:53 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 7 Aug 1998 08:53:47 +0000
(08:53 +0000)
lisp/midnight.el
patch
|
blob
|
history
diff --git
a/lisp/midnight.el
b/lisp/midnight.el
index ba68718bde9d82f11774e14d35793b69917a3f69..062d3fae09fc512d9ff7ad798076a421b480199e 100644
(file)
--- a/
lisp/midnight.el
+++ b/
lisp/midnight.el
@@
-219,8
+219,7
@@
to its second argument."
(defun midnight-timer-function ()
"This is the function run by the `midnight-mode' timer once each day."
- (when midnight-mode
- (run-hooks 'midnight-hook)))
+ (run-hooks 'midnight-hook))
(defcustom midnight-delay 3600
"*The number of seconds after the midnight when the `midnight-timer' is run.